import Mock from 'mockjs';
import banners from './banner.json';
import floors from './floor.json';

//mock方法两个参数：第一个请求地址，第二个是请求数据
Mock.mock("/mock/banner",{code:200,data:banners});
Mock.mock("/mock/floor",{code:200,data:floors});